
<html><HEAD>
<LINK REL=STYLESHEET HREF="default.css" TYPE="text/css">
<TITLE>
Building an MDI frame window</TITLE>
</HEAD>
<BODY>

<!-- Header -->
<p class="ancestor" align="right"><A HREF="apptechp31.htm">Previous</A>&nbsp;&nbsp;<A HREF="apptechp33.htm" >Next</A>
<!-- End Header -->
<A NAME="CHDECBCG"></A><h1>Building an MDI frame window</h1>
<A NAME="TI614"></A><p>When you create a new window in PowerBuilder, its default
window type is Main. Select mdi! or mdihelp! on the General property
page to change the window to an MDI frame window.</p>
<A NAME="X-REF352147687"></A><h4>Using menus </h4>
<A NAME="TI615"></A><p>When you change the window type to MDI, you must associate
a menu with the frame. Menus usually provide a way to open sheets
in the frame and to close the frame if the user has closed all the
sheets.</p>
<p><img src="images/note.gif" width=17 height=17 border=0 align="bottom" alt="Note"> <span class=shaded>About menus and sheets</span> <A NAME="TI616"></A>A sheet can have its own menu but is not required to. When
a sheet without a menu is opened, it uses the frame's menu.</p>

